$(function(){
	var height=$(".top-wrap").height()+$(".footer").height();
	var allheight=$(window).height();
	var minheight=allheight-height;
	var hei=$(".content").height();
	minheight=minheight>hei?minheight:hei;
	$(".content").css("min-height",minheight+'px');
});